package collection;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

public class CollectionSortDemo01 {
    public static void main(String[] args) {
        Integer[] array = {20,100,30,120,10,20};

        List<Integer> list = Arrays.asList(array);
        Collections.sort(list);
        System.out.println(list);

    }
}
